package demo3;

public class Singleton {
    private static Singleton instanece=new Singleton();
    private Singleton(){}
    public static Singleton getInstance(){
        return instanece;
    }
}
